package net.csdn.business.kanban.common.domain.DTO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author lAln
 * @date 2022/6/14 18:33
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class IssueUpdateReqDto implements Serializable {
    @NotBlank(message = "issueId 不合法")
    private String issueId;

    @Length(min = 1, max = 100, message = "标题不能超过 100 个字符")
    private String title;

    @NotBlank(message = "uid 不合法", groups = {System.class})
    private String uid;

    private Boolean isSyncKanban;
}